package day5.zuoye;

import java.util.Scanner;

public class Test05 {
    public static void main(String[] args) {
        Scanner input =new Scanner(System.in);
        int h =0;
        while(h<=1){
            System.out.println("请输入高");
            h =input.nextInt();
        }
        for (int i=0;i<h;i++){
            for (int j=h;j>i;j--){
                System.out.print(" ");
            }
            for (int j=0;j<i*2-1;j++)
                System.out.print("*");
            System.out.println();
        }

    }
}
